package com.soda.dao;

import java.util.List;

import com.soda.bean.Industry;
import com.soda.util.PageInfo;
import com.soda.util.SelectIndustryInfo;

public interface IndustryDao {
	//根据ID查信息
	Industry showAllIndustry(int id);
	//分页加条件查询
	List<Industry> getIndustry(SelectIndustryInfo sdi, PageInfo pi);
	//查询信息有几条
	int getIndustryCount(SelectIndustryInfo sdi);
	//删除
	int deleteById(int id);
	 //修改
	int updateIndustry(int id, int recommend, String neirong);
	//增加
	int addIndustry(Industry ids);
	//批量删除
	int delAllIndustry(String[] list);
	//全查
	List<Industry> getSelectAll();
	//导出
	List<Industry> exportIndustry(String[] count);
	//修改状态
	
	int updateStateNews(int newId, int state);

}
